package com.yeah.sinaspider.vo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * <p>
 * 系统字典
 * </p>
 *
 * @author yeah丶一页 (quhailong1995@gmail.com)
 * @since 2019-02-11
 */
@Data
@Entity(name = "t_sys_cat")
public class SysCatVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    private String cd;

    private String nm;

    private Long pid;

    private Long tid;

    public SysCatVo() {
    }

    public SysCatVo(String cd) {
        this.cd = cd;
    }

    public SysCatVo(Long pid) {
        this.pid = pid;
    }

}
